import sys
sys.path.append('/Users/zhangxu/PycharmProjects/imooc_py/part_2/students')
# from Student import Student
from Student import Student


class StudentSystem:
    def __init__(self):
        self.interface()
        self.student_list = []

    @staticmethod
    def interface():
        print("欢迎使用学生管理系统 V1.0".center(30, "*"))
        print("\t\t1. 添加学生")
        print("\t\t2. 删除学生")
        print("\t\t3. 修改学生")
        print("\t\t4. 查询学生")
        print("\t\t5. 显示所有学生")
        print("\t\t6. 退出系统")
        print("*" * 37)
        print("请输入您的操作：")

    def add_student(self):
        print("欢迎添加学生信息".center(30, "*"))
        # name, class_name, age, phone = GetInfo.get_info()
        student = Student(name, class_name, age, phone)

    def del_student(self):
        print("欢迎删除学生信息".center(30, "*"))

    def modify_student(self):
        print("欢迎修改学生信息".center(30, "*"))

    def query_student(self):
        print("欢迎查询学生信息".center(30, "*"))

    def print_student_info(self):
        print("所有学生信息".center(30, "*"))

    def log_out(self):
        print("系统退出".center(30, "*"))
        exit()

if __name__ == '__main__':
    s1 = StudentSystem()